package com.jic.market.request.rest.coupon;

import com.jic.market.request.rest.base.RestBaseRequest;
import io.swagger.annotations.ApiModelProperty;
import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;

import javax.validation.constraints.NotNull;

/**
 * @author wwb
 */
@Data
@AllArgsConstructor
@NoArgsConstructor
public class QueryCouponPersonRequest extends RestBaseRequest {

    @NotNull(message = "缺少 登录token 参数")
    @ApiModelProperty(value = "登录token" , required = true)
    private String token;

    @NotNull(message = "缺少 优惠券状态 参数")
    @ApiModelProperty(value = "优惠券状态 1:未使用 2: 已使用 3:已过期" , required = true)
    private String status;

    @NotNull(message = "缺少 当前页码 参数")
    @ApiModelProperty(value = "当前页码", required = true)
    private Integer start;

    @NotNull(message = "缺少 当前页总条数 参数")
    @ApiModelProperty(value = "当前页总条数", required = true)
    private Integer limit;

}
